package gov.pbc.nn.kjgl.gzjh.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

@Entity
@Table(name = "T_WORK_PLAN_BANCH")
public class WorkPlanBanch extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@PropertyDef(label = "工作计划ID")
	@Column(name = "WORK_ID_", length = 400)
	private String workId;

	@PropertyDef(label = "科长ID")
	@Column(name = "BANCH_USERNAME_", length = 60)
	private String banchUsername;

	@PropertyDef(label = "科长名称")
	@Column(name = "BANCH_CNAME_", length = 100)
	private String banchCname;

	@Column(name = "DEPT_ID_", length = 60)
	@PropertyDef(label = "部门id", description = "部门id")
	private String deptId;

	@Column(name = "DEPT_NAME_", length = 120)
	@PropertyDef(label = "部门名称", description = "部门名称")
	private String deptName;
//---0是初始状态，1是已经完成
	@Column(name = "STATE_")
	@PropertyDef(label = "状态", description = "状态:状态")
	private int state;
	
	@Column(name = "END_TIME_")
	@PropertyDef(label = "实际完成时间", description = "实际完成时间:实际完成时间")
	private Date endTime;
	
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getWorkId() {
		return workId;
	}

	public void setWorkId(String workId) {
		this.workId = workId;
	}

	public String getBanchUsername() {
		return banchUsername;
	}

	public void setBanchUsername(String banchUsername) {
		this.banchUsername = banchUsername;
	}

	public String getBanchCname() {
		return banchCname;
	}

	public void setBanchCname(String banchCname) {
		this.banchCname = banchCname;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

}
